<!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <title>XSS-test1.html</title>
</head>

<body>
    <input type="text" value="&quot;&gt;&lt;script&gt;alert(&#x27;XSS&#x27;);&lt;&#x2F;script&gt;">
    <button>搜索</button>
    <div>
        您搜索的关键词是：&quot;&gt;&lt;script&gt;alert(&#x27;XSS&#x27;);&lt;&#x2F;script&gt;
    </div>
    <a href="javascript:alert(&#x27;XSS&#x27;)">跳转...</a>
</body>

</html>